package com.kele.service;

import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

/**
 * @author chunhui.li
 * @date 2021/10/18 14:51
 * @Description
 * @ClassName LoginService
 */

public interface LoginService {

    /**
     * 登录
     * @param username
     * @param password
     * @return
     */
    public String login(String username, String password);

    /**
     * 登出
     * @param request
     * @return
     */
    public String logout(HttpServletRequest request);
}
